<template>
  <div id="app">
    <van-tabbar v-model="active" route active-color="#639431">
      <van-tabbar-item to="/homeview" icon="wap-home">首页</van-tabbar-item>
      <van-tabbar-item to="/classify" icon="search">分类</van-tabbar-item>
      <van-tabbar-item to="/eatview" icon="friends-o">吃什么</van-tabbar-item>
      <van-tabbar-item to="/shooping" icon="shopping-cart-o">购物车</van-tabbar-item>
      <van-tabbar-item to="/myview" icon="user-o">我的</van-tabbar-item>
    </van-tabbar>
    <router-view></router-view>
  </div>  
</template>
<script>
import "./utils/shipei.js";
export default {
  name: "App",
  data() {
    return {
      active: 0,
    }
  },
};
</script>
<style>
*{
  margin: 0;
  padding: 0;
  list-style: none;
}
#app {
  font-size: 0.5rem;
}
</style>
